#ifndef _PRODUCT_H
#define _PRODUCT_H

#include <iostream>

using namespace std;

class Product
{
public:
	Product()
	{
		memset(m_status, 0, sizeof(m_status));
	}

	~Product(){}

	void Print()
	{ 
		for(int i = 0; i < 3; ++i)
		{
			std::cout << "The Status is " << m_status[i] << std::endl; 
		}
		
	}

	void SetStatus(int nIndex, int nValue)
	{
		if (nIndex < 3)
		{
			m_status[nIndex] = nValue;
		}
	}

private:
	int m_status[3];
};

#endif